
package com.cmc.service;

import java.util.List;

import com.cmc.service.Manager;
import com.cmc.model.Employee;
import com.cmc.dao.EmployeeDao;

public interface EmployeeManager extends Manager {
    /**
     * Retrieves all of the employees
     */
    public List getEmployees(Employee employee);

    /**
     * Gets employee's information based on id.
     * @param id the employee's id
     * @return employee populated employee object
     */
    public Employee getEmployee(final String id);

    /**
     * Saves a employee's information
     * @param employee the object to be saved
     */
    public void saveEmployee(Employee employee);

    /**
     * Removes a employee from the database by id
     * @param id the employee's id
     */
    public void removeEmployee(final String id);
}

